php forum
php mysql forum
php mysql smarty
 
Topic Options
#203467 - 11/05/05 08:37 PM [6.7] [beta] Spoiler Tags
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
Modification Name: Spoiler Tags

Author(s): Brett

Description: This modification will allow forum users the additional tag
Click to reveal..
to initally hide text from viewers. Once clicked the hidden information will become visible.

Demo:

Requirements: UBB 6.7.x

Download Link: http://www.ubbdev.com/ubb/upload/00006378/Spoil.zip

Credits: Ben Nolan / Simon Willison for the attached JS script

Usages:

[spoiler]I will be hidden until clicked

Click to reveal.. (Click Here To Show Hidden Text)
Hello!


Don't forget to edit your styles with the css tags. As stated in the install file, you may customize those tags to fit your style except do not take off the "display: none" part.

Let me know if any issues arise. smile

Top
#203468 - 11/05/05 11:14 PM Re: [6.7] [beta] Spoiler Tags
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Hehe, my bestest buddy pumpeded this one out in only a day (it was a day ago when i pmed you wasn't it?)

Thanks smile .
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#203469 - 11/20/05 06:53 AM Re: [6.7] [beta] Spoiler Tags
Nightcrawler Offline
User

Registered: 12/17/03
Posts: 48
Loc: San Diego
Nice mod! Thanks!

I do have one question though, is there a way to hide the text in Active Topics?

Top
#203470 - 12/07/05 07:02 AM Re: [6.7] [beta] Spoiler Tags
Firstone Offline
Junior Member

Registered: 05/08/01
Posts: 11
Hi there,

thanks a lot for this nice mod. As my previous writer I'd like to know if there's a possibility to hide the text in active topics ?

Top
#203471 - 12/07/05 05:57 PM Re: [6.7] [beta] Spoiler Tags
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
PMed Bretty wink
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#203472 - 02/16/06 06:45 PM Re: [6.7] [beta] Spoiler Tags
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Any security bugs noted? It looks ok to me, but someone had a question...
_________________________
- Allen wavey
- What Drives You?

Top
#203473 - 02/16/06 08:12 PM Re: [6.7] [beta] Spoiler Tags
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Not that i can see hehe
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#203474 - 02/18/06 12:16 AM Re: [6.7] [beta] Spoiler Tags
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
While I hope not/not aware of any, let me know if anyone comes across any.

Top
#203475 - 02/18/06 04:58 AM Re: [6.7] [beta] Spoiler Tags
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Quote:
Originally posted by Firstone:

thanks a lot for this nice mod. As my previous writer I'd like to know if there's a possibility to hide the text in active topics ?


Brett, did you take care of the spoilers appearing in "Active Topics"?
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#203476 - 02/21/06 12:05 AM Re: [6.7] [beta] Spoiler Tags
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
Quote:
Originally posted by Gizzy:</font><hr />
<blockquote><font class="small">Originally posted by Firstone:
[qb]
thanks a lot for this nice mod. As my previous writer I'd like to know if there's a possibility to hide the text in active topics ?
[/qb]


Brett, did you take care of the spoilers appearing in "Active Topics"?
<hr /></blockquote>

Code:
in ubb_lib_posting.cgi

# FIND
#######

	$v =~ s/<[^><]+?>//sg;


# ADD BELOW
############

	# Spoiler Hack - Daily Topics
	$v =~ s/[spoiler(=[^]]+)?](.+?)[/spoiler]//sg;
Zip File Updated. smile

Top
#203477 - 02/21/06 04:28 AM Re: [6.7] [beta] Spoiler Tags
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Good boy :rubs head:, now we're bugglet free (theres a statement)
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#203478 - 02/23/06 11:42 PM Re: [6.7] [beta] Spoiler Tags
Nightcrawler Offline
User

Registered: 12/17/03
Posts: 48
Loc: San Diego
Thank you much! thumbsup

Top



Moderator:  Charles, Gizmo 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks